package com.alex.service;

import com.alex.entity.User;
import com.alex.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;


public interface UserService {

    User getById(int id);

    List<User> getAll();

    void loginErrorCount(User user);
}
